package service;

import java.util.List;
import java.util.Map;

import qingke.bean.Page;
import qingke.mybatis.pojo.Product;

public interface ProductService {

	List<Product> getAllProduct();

	int countProducts();

	List<Product> productPaging(Page page);

	List<Product> getRecommendedProducts();

	Integer countProductsBySelect(String name);

	List<Product> productPagingBySelect(Map<String, Object> map);
	
	Product getProductById(Integer productId);
}
